package edu.rpi.cs.android;

import java.util.*;

public class Transactions {

	public ArrayList<Transaction> trans = new ArrayList<Transaction>();
	public ArrayList<String> dispTrans = new ArrayList<String>();
	
	public Transactions()
	{
		Transaction newtrans = new Transaction("first", 20);
		trans.add(newtrans);
		dispTrans.add(newtrans.toString());
	}
	
	public void addTransaction(String n, double b)
	{
		Transaction temp = new Transaction(n,b);
		trans.add(temp);
		dispTrans.add(temp.toString());
	}
}
